package types

type UserRegisterReq struct {
	UserName string `json:"user_name" form:"user_name"`
	Password string `json:"password" form:"password"`
}

type UserLoginReq struct {
	UserName string `json:"user_name" form:"user_name"`
	Password string `json:"password" form:"password"`
}

type UserLoginResp struct {
	Id        uint   `json:"id"`
	UserName  string `json:"user_name"`
	CreatedAt int64  `json:"created_at"`
}
type TokenData struct {
	User        interface{} `json:"user"`
	AccessToken string      `json:"access_token"`
}
